<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <title>learn Resources</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
<div style="text-align: center;margin:0 auto;width: 1000px; ">
    <h1>TEST</h1>
    <form action="/api/userController/userlist">
        <input name="name"></input>
        <button type="submit">生成javaRepository</button>
    </form>
    <table width="100%" border="1" cellspacing="1" cellpadding="0">
        <tr>
            <td>ID</td>
            <td>姓名</td>
            <td>版本</td>
        </tr>
        <!--/*@thymesVar id="learnList" type=""*/-->
        <tr th:each="user:${userList}">
            <td th:text="${user.id}">ID</td>
            <td th:text="${user.userName}">名字</td>
            <td><a th:href="${user.version}" target="_blank">版本</a></td>
        </tr>
    </table>
</div>
</body>
</html>